package arquitetura.model;

import java.util.Collection;
import to.Midia;
import exceptions.ConexaoException;
import exceptions.ModelException;

public interface ModelMidia {
	public void incluir(Midia midia) throws ConexaoException, ModelException;
	public void alterar(Midia midia)throws ConexaoException, ModelException;
	public void excluir(int codigo) throws ConexaoException, ModelException;
	public Midia consultar(int codigo) throws ConexaoException, ModelException;
	public Collection<String[]> listarParaGrid(String parteDoNome) throws ConexaoException, ModelException;
	public boolean podeExcluirMidia(int codigo) throws ConexaoException, ModelException;
}



